<template>
	<view class="contact">
		<image class="img" src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3252521864,872614242&fm=26&gp=0.jpg"></image>
		<view class="info">
			<view @click="phone">联系电话：123-456-789（点击拨打）</view>
			<view>联系地址：CSDN-赈川</view>
		</view>
		<map class="map" v-bind:longitude="longitude" v-bind:latitude="latitude" v-bind:markers="markers"></map>
		联系我们
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude : 108.910649,
				latitude: 34.158268,
				markers:[
					{
						longitude : 108.910649,
						latitude: 34.158268,
						iconPath : '../../static/logo.png'
					}
				]
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber: '123-456-789'
				})
			}
		}
	}
</script>

<style lang="scss">
	.contact{
		.img{
			width: 750rpx;
			height: 320rpx;
		}
		.info{
			padding: 10rpx 20rpx;
			font-size: 30rpx;
			view{
				line-height: 80rpx;
				border-bottom: 1px solid #eee;
			}
		}
		.map{
			width: 750rpx;
			height: 750rpx;
		}
	}
</style>